/*
 * @Description: 设置管理API接口
 * @Author: QianLong
 * @Date: 2019-07-07 19:06:52
 * @LastEditors    : QianLong
 * @LastEditTime   : 2024-05-08 15:10:08
 */
import http from '@/utils/http/axios'

export function getItemList(params) {
  return http.request({
    url: '/feedback/list',
    method: 'GET',
    params
  })
}
export function getAllItemList(params) {
  return http.request({
    url: '/feedback/all_list',
    method: 'GET',
    params
  })
}
export function getSiteList(params) {
  return http.request({
    url: '/feedback/site_list',
    method: 'GET',
    params
  })
}
export function getAllCateList(params) {
  return http.request({
    url: '/feedback/all_group_list',
    method: 'GET',
    params
  })
}
export function getCateList(params) {
  return http.request({
    url: '/feedback/group_list',
    method: 'GET',
    params
  })
}
export function getSiteListAdmin(params) {
  return http.request({
    url: '/feedback/site_list_admin',
    method: 'GET',
    params
  })
}
export function doGetTjData(params) {
  return http.request({
    url: '/feedback/line_data',
    method: 'GET',
    params
  })
}
export function getAllSiteList(params) {
  return http.request({
    url: '/feedback/all_site_list',
    method: 'GET',
    params
  })
}
export function delSiteItem(params) {
  return http.request(
    {
      url: '/feedback/del_site',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delCateItem(params) {
  return http.request(
    {
      url: '/feedback/del_cate',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function transferSiteItem(params) {
  return http.request(
    {
      url: '/feedback/transfer_site',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delLogItem(params) {
  return http.request(
    {
      url: '/feedback/del_log',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function submitTagData(params) {
  return http.request(
    {
      url: '/feedback/tag_log',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delLogAll(params) {
  return http.request(
    {
      url: '/feedback/del_log_all',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delLogBatch(params) {
  return http.request(
    {
      url: '/feedback/del_log_batch',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function delSiteBatch(params) {
  return http.request(
    {
      url: '/feedback/del_site_batch',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function editSiteInfo(params) {
  return http.request(
    {
      url: '/feedback/editSiteInfo',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function doYanPiao(params) {
  return http.request(
    {
      url: '/feedback/doYanPiao',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function editCateItem(params) {
  return http.request(
    {
      url: '/feedback/editCate',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function getItemInfo(params) {
  return http.request({
    url: '/feedback/editItemInfo',
    method: 'GET',
    params
  })
}
